import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
df = pd.DataFrame({'col1': pd.Series(np.random.randint(30, 100, 4), index=['rol1', 'rol2', 'rol3', 'rol4']),
                   'col2': pd.Series(pd.date_range('20220601', end='20221001', freq='ME')),
                   'col3': pd.Series(i for i in range(4))})
df['col4'] = df['col1']*df['col3']
df.describe()
df1 = df['col1']
plt.figure()
df1.plot(kind='bar', color='green')

x = list(range(1,10))
y = 2*x
plt.plot(x, y)
plt.show

